package com.bubblegumproject.ogo.swing.validation;

/**
 * Base class for the {@link Validator} interface.
 *
 * @author Azubuko Obele (buko.obele@gmail.com)
 */
public abstract class AbstractValidator implements Validator {

    private Object target;

    private String failureId;

    private boolean valid;

    public Object getTarget() {
        return target;
    }

    public void setTarget(Object target) {
        this.target = target;
    }

    public String getFailureId() {
        return failureId;
    }

    public void setFailureId(String failureId) {
        this.failureId = failureId;
    }

}
